#ifndef PHOTOMETER_MENU_H
#define PHOTOMETER_MENU_H
#include <QButtonGroup>
#include <global_variable.h>
#include"mycombobox.h"
#include <QMainWindow>
#include <QWidget>
#include <QRadioButton>
class Photometer_Menu : public QMainWindow
{
    Q_OBJECT
public:
    explicit Photometer_Menu(QWidget *parent = 0);
    bool eventFilter(QObject *watched, QEvent *event);
    void ui_Label_Init();
    void ui_Btn_Init();
    void connect_Init();
    void time_Init();
    int pos=0;
    int totalBtn =8;
    QTimer  *timer;
    QTimer  *timer2;
    QString str_show;
    bool show_flag=0;
    bool change_flag=0;  //1代表修改数据模式  0代表按键控制模式
    int elec_flag=0;//只是代表电磁阀的种类，用来切换电磁阀
    QPushButton *theBtn[8];
    QLabel *theLabel[10];
    QList <QPushButton * >btnlist_ui;
    int flag=2;
    QString Elec_Gas[4]={"光度计关闭","光度计强度","光度计外部","光度计控制"};//存储名字

signals:

public slots:
};




#endif // PHOTOMETER_MENU_H
